home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 April: Mac OS SDK / Dev.CD Apr 97 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Interfaces / PInterfaces / FileTransferTools.p < prev    next >
Encoding:
Text File  |  1995-07-06  |  2.7 KB  |  133 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        FileTransferTools.p
  3.  
  4.      Contains:    CommToolbox File Transfer Tools Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Package:    Universal Interfaces 2.1 in “MPW Latest” on ETO #18
  8.  
  9.      Copyright:    © 1984-1995 by Apple Computer, Inc.
  10.                  All rights reserved.
  11.  
  12.      Bugs?:        If you find a problem with this file, use the Apple Bug Reporter
  13.                  stack.  Include the file and version information (from above)
  14.                  in the problem description and send to:
  15.                      Internet:    apple.bugs@applelink.apple.com
  16.                      AppleLink:    APPLE.BUGS
  17.  
  18. }
  19.  
  20. {$IFC UNDEFINED UsingIncludes}
  21. {$SETC UsingIncludes := 0}
  22. {$ENDC}
  23.  
  24. {$IFC NOT UsingIncludes}
  25.  UNIT FileTransferTools;
  26.  INTERFACE
  27. {$ENDC}
  28.  
  29. {$IFC UNDEFINED __FILETRANSFERTOOLS__}
  30. {$SETC __FILETRANSFERTOOLS__ := 1}
  31.  
  32. {$I+}
  33. {$SETC FileTransferToolsIncludes := UsingIncludes}
  34. {$SETC UsingIncludes := 1}
  35.  
  36.  
  37. {$IFC UNDEFINED __DIALOGS__}
  38. {$I Dialogs.p}
  39. {$ENDC}
  40. {    Errors.p                                                    }
  41. {        ConditionalMacros.p                                        }
  42. {    Memory.p                                                    }
  43. {        Types.p                                                    }
  44. {        MixedMode.p                                                }
  45. {    Menus.p                                                        }
  46. {        Quickdraw.p                                                }
  47. {            QuickdrawText.p                                        }
  48. {    Controls.p                                                    }
  49. {    Windows.p                                                    }
  50. {        Events.p                                                }
  51. {            OSUtils.p                                            }
  52. {    TextEdit.p                                                    }
  53.  
  54. {$IFC UNDEFINED __FILETRANSFERS__}
  55. {$I FileTransfers.p}
  56. {$ENDC}
  57. {    CTBUtilities.p                                                }
  58. {        StandardFile.p                                            }
  59. {            Files.p                                                }
  60. {                Finder.p                                        }
  61. {        AppleTalk.p                                                }
  62. {    Connections.p                                                }
  63. {    Terminals.p                                                    }
  64.  
  65. {$PUSH}
  66. {$ALIGN MAC68K}
  67. {$LibExport+}
  68.  
  69. CONST
  70. { DEFs }
  71.     fdefType                    = 'fdef';
  72.     fsetType                    = 'fset';
  73.     fvalType                    = 'fval';
  74.     flocType                    = 'floc';
  75.     fscrType                    = 'fscr';
  76.     fbndType                    = 'fbnd';
  77.     fverType                    = 'vers';
  78.  
  79. { control }
  80.     ftInitMsg                    = 0;
  81.     ftDisposeMsg                = 1;
  82.     ftSuspendMsg                = 2;
  83.     ftResumeMsg                    = 3;
  84.     ftMenuMsg                    = 4;
  85.     ftEventMsg                    = 5;
  86.     ftActivateMsg                = 6;
  87.     ftDeactivateMsg                = 7;
  88.     ftGetErrorStringMsg            = 8;
  89.     ftAbortMsg                    = 52;
  90.     ftStartMsg                    = 100;
  91.     ftExecMsg                    = 102;
  92.     ftSendMsg                    = 103;
  93.     ftReceiveMsg                = 104;
  94. { setup }
  95.     ftSpreflightMsg                = 0;
  96.     ftSsetupMsg                    = 1;
  97.     ftSitemMsg                    = 2;
  98.     ftSfilterMsg                = 3;
  99.     ftScleanupMsg                = 4;
  100. { validate }
  101.     ftValidateMsg                = 0;
  102.  
  103.     ftDefaultMsg                = 1;
  104. { scripting }
  105.     ftMgetMsg                    = 0;
  106.     ftMsetMsg                    = 1;
  107. { localization }
  108.     ftL2English                    = 0;
  109.     ftL2Intl                    = 1;
  110.  
  111.  
  112. TYPE
  113.     FTSetupStruct = RECORD
  114.         theDialog:                DialogPtr;                                { the dialog form the application }
  115.         count:                    INTEGER;                                { first appended item }
  116.         theConfig:                Ptr;                                    { the config record to setup }
  117.         procID:                    INTEGER;                                { procID of the tool }
  118.     END;
  119.  
  120.     FTSetupPtr = ^FTSetupStruct;
  121.  
  122.  
  123. {$ALIGN RESET}
  124. {$POP}
  125.  
  126. {$SETC UsingIncludes := FileTransferToolsIncludes}
  127.  
  128. {$ENDC} {__FILETRANSFERTOOLS__}
  129.  
  130. {$IFC NOT UsingIncludes}
  131.  END.
  132. {$ENDC}
  133.